﻿using System;

namespace Skynet.CommonLibrary.ThreadRefreshTime.Attribute
{
    /// <summary>
    /// 任务触发的操作特性
    /// </summary>
    ///<remarks>
    /// 作者：         李志强
    /// 开发时间：  2011-03-28
    /// </remarks>
    [AttributeUsage(AttributeTargets.Class,AllowMultiple=true)]
    public class TaskActionAttribute : System.Attribute
    {
       public TaskActionAttribute(string task, string method)
       {
           TaskName = task;
           MethodName = method;
       }

       //任务名称
       public string TaskName
       { get; set; }

       public Type ClassType
       { get; set; }

       public string MethodName
       { get; set; }
    }
}
